﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for FleetTransaction
/// </summary>
namespace CE.CarInsurance
{
    public class FleetTransaction
    {
        private Int64 _transactionid;
        private Int64 _agentid;
        private Int64 _adminid;
        private Int64 _refceuserid;
        private Int64 _fleetcarid;
        private Int64 _companyid;
        private Int64 _providercompanyid;
        private string _quoterefno;
        private Int16 _transactiontypeid;
        private string _remarks;
        private bool _status;

        public FleetTransaction()
        {
            ClearFields();
        }

        public Int64 TransactionId
        {
            get { return _transactionid; }
            set { _transactionid = value; }
        }

        public Int64 AgentId
        {
            get { return _agentid; }
            set { _agentid = value; }
        }

        public Int64 AdminId
        {
            get { return _adminid; }
            set { _adminid = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public Int64 FleetCarId
        {
            get { return _fleetcarid; }
            set { _fleetcarid = value; }
        }

        public Int64 CompanyId
        {
            get { return _companyid; }
            set { _companyid = value; }
        }

        public Int64 ProviderCompanyId
        {
            get { return _providercompanyid; }
            set { _providercompanyid = value; }
        }

        public string QuoteRefNo
        {
            get { return _quoterefno; }
            set { _quoterefno = value; }
        }

        public Int16 TransactionTypeId
        {
            get { return _transactiontypeid; }
            set { _transactiontypeid = value; }
        }

        public string Remarks
        {
            get { return _remarks; }
            set { _remarks = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public void ClearFields()
        {
            _transactionid = 0;
            _agentid = 0;
            _adminid = 0;
            _refceuserid = 0;
            _fleetcarid = 0;
            _companyid = 0;
            _providercompanyid = 0;
            _quoterefno = "";
            _transactiontypeid = 0;
            _remarks = "";
            _status = false;
        }

    }
}